<?php if (!defined('MAX_ON')){echo "<h1>ACCESS DENIED</h1>You cannot access this file directly.";exit();} ?>
<?php if ($template_hook=='start'){ ?>
<?php }elseif ($template_hook=='1'){ ?>
	<div class="f_right" style="width: 20%">
		
		<table class="forum-board-forum-head" cellpadding="0" cellspacing="0">
			<tr><td class="forum-topic-subject"><?php echo $lang['navigation']; ?></td></tr>
		</table>
		
		<table class="forum-index" cellpadding="0" cellspacing="0">
		
			<tr>
				<td class="forum-jump-content forum-index-top" onmouseover="this.className='forum-jump-content-hover forum-index-top'" onmouseout="this.className='forum-jump-content forum-index-top'">
					<a class="forum-index-link-to-topic" href="<?php echo max_link('index.php?page=gallery', 'gallery'); ?>"><?php echo $lang['navigation_home']; ?></a>
				</td>
			</tr>
			
			<tr>
				<td class="forum-jump-content forum-index-top" onmouseover="this.className='forum-jump-content-hover forum-index-top'" onmouseout="this.className='forum-jump-content forum-index-top'">
					<a class="forum-index-link-to-topic" href="<?php echo max_link('index.php?page=gallery&amp;act=latest', 'gallery/latest'); ?>"><?php echo $lang['navigation_latest']; ?></a>
				</td>
			</tr>
			
			<tr>
				<td class="forum-jump-content forum-index-top" onmouseover="this.className='forum-jump-content-hover forum-index-top'" onmouseout="this.className='forum-jump-content forum-index-top'">
					<a class="forum-index-link-to-topic" href="<?php echo max_link('index.php?page=gallery&amp;act=top-rated', 'gallery/top-rated'); ?>"><?php echo $lang['navigation_top_rated']; ?></a>
				</td>
			</tr>
			
			<tr>
				<td class="forum-jump-content forum-index-top" onmouseover="this.className='forum-jump-content-hover forum-index-top'" onmouseout="this.className='forum-jump-content forum-index-top'">
					<a class="forum-index-link-to-topic" href="<?php echo max_link('index.php?page=gallery&amp;act=my-images', 'gallery/my-images'); ?>"><?php echo $lang['navigation_my_images']; ?></a>
				</td>
			</tr>
		
			<tr>
				<td class="forum-jump-content forum-index-top" onmouseover="this.className='forum-jump-content-hover forum-index-top'" onmouseout="this.className='forum-jump-content forum-index-top'">
					<a class="forum-index-link-to-topic" href="<?php echo max_link('index.php?page=gallery&amp;act=upload', 'gallery/upload'); ?>"><?php echo $lang['navigation_add_new']; ?></a>
				</td>
			</tr>
			
		</table>
		
		<table class="forum-index-forum-footer" cellpadding="0" cellspacing="0">
			<tr><td class="forum-index-forum-footer-contents"> </td></tr>
		</table>
	
	</div>
	
<?php }elseif ($template_hook=='2'){ ?>
	<div class="f_right" style="width: 80%">
	
		<div style="padding-<?php echo $lang['header_right']; ?>: 20px">
<?php }elseif ($template_hook=='3'){ ?>
		</div>

	</div>
<?php }elseif ($template_hook=='end'){ ?>		
<?php } ?>